<?php
//Think的路由规则
//注释会在这个路由中存在一份内容，所以内容的规则是上边是路由的解释下面是路由的代码示意
return [
  '/'=>'index/Index/index', //首页的内容
  'imagetest'=>['index/Index/imagetest',['method'=>'get']],
  'user'=>['user/Index/info',['method'=>'get']], //用户接口的内容
  //用户信息查询接口(完成) 进行测试 1.sql注入 ， 2.接口测试
  'user/info'=>['user/Index/info',['method'=>'get']], //用户的名称查询
  //用户身体指标增加 飞翔测试
  'indicators/push'=>['helath/Index/input',['method'=>'get']], //用户的身体指标添加
  //健身房下的会员列表[新增的健身房下的会员列表]
  'gym/member/list'=>['gym/Index/gymMemberList',['method'=>'get']],
  //添加评论
  'circle/comment/push'=>['circle/Index/pushComment',['method'=>'post']],
  //查询朋友圈的评论
  //课程动态的查询
  'course/dynamic/info'=>['circle/Index/CourseDynamicInfo',['method'=>'get']],
  //课程查询
  'course/info'=>['gym/Index/courseInfo',['method'=>'get']],
  //课程动态的评论查询
  'circle/comment/info'=>['circle/Index/infoOfComment',['method'=>'get']],
  //查询上课反馈意见
  'opinion/feedback'=>['circle/Index/opinionFeedback',['get']],
  //教练下的会员列表`
  'fitness/member/list'=>['gym/Index/memberList',['method'=>'get']],
  //会员的课程历史
  'course/history/info'=>['reservation/Index/courseHistory',['method'=>'get']],
  //添加训练动作的分类
  'fitness/train/action/cate/add'=>['gym/reservation/Index/addTrainingCate',['method'=>'post']],
  //查询训练动作分类
  'fitness/train/action/cate/info'=>['gym/reservation/Index/trainingCateInfo',['method'=>'get']],
  //教练的统计信息
  'fitness/count/info'=>['gym/Index/fitnessCountInfo',['method'=>'get']],
  //会员课时统计
  'member/rest/list'=>['gym/Index/memberRestOfClassCount',['method'=>'get']],
  //会员课程时间统计详情内容
  'member/rest/content'=>['gym/Index/memberRestContentOfClassCount',['method'=>'get']],
  //健身房今日约克明日约克统计
  'gym/course/count'=>['gym/Index/gymCourseHourCount',['method'=>'get']],
  //查询训练动作
  'fitness/train/action/info'=>['gym/reservation/Index/trainingInfo',['method'=>'get']],
  //添加训练动作
  'fitness/train/action/add'=>['gym/reservation/Index/addTraining',['method'=>'post']],
  //添加奖状
  'push/reward'=>['gym/Index/pushReward',['method'=>'post']],
   //用户的身体指标信息
  'indicators/info'=>['helath/Index/info',['method'=>'get']],
  //用户的消息添加
  'AlertsMsg/input'=>['user/Index/input',['method'=>'get']],
  //设置已经读取用户的消息
  'alerts/reading'=>['user/Index/notifyAlready',['method'=>'get']],
  //用户的消息模型
  'alert/info'=>['user/Index/information',['method'=>'get']],
  //会员课时的操作
  'member/hours/option'=>['gym/Index/memberHoursOption',['method'=>'post']],
  //会员课时的查询
  'member/hours/info'=>['gym/Index/memberHourseInfo',['method'=>'get']],
  'member/hours/info/item'=>['gym/Index/memberHourseInfoItem',['method'=>'get']],
  //教练和会员的解约
  'fitness/unsigning/member'=>['gym/Index/fitnessUnsignMember',['method'=>'POST']],
  //会员和教练进行解约
  'member/unsigning/fitness'=>['gym/Index/memberUnsignitness',['method'=>'POST']],
  //手机号码登录  [type,phone_num,password]
  'user/signin'=>['user/Index/login',['method'=>'get']],
  //手机号码注册
  'phoneregist/signup'=>['user/Index/register',['method'=>'get']],
  //会员登录后的主页面的信息
  'manager'=>['user/Index/userManager',['method'=>'get']],
  //会员的初始化设置会员的角色信息
  'user/setrole'=>['user/Index/setRole',['method'=>'get']],
  //会员更改初始化的信息
  'user/monity_info'=>['user/Index/userInfoMonity',['method'=>'get']],
  //微信登录
  'WechatRegist/signIn'=>['user/Index/wechatRegistered',['method'=>'get']],
  //接受会员的约课
  'arrange/course/accept'=>['reservation/Index/coach',['method'=>'post']],
  //会员的身体指标管理
  'indicators/info'=>['helath/Index/info',['method'=>'get']],
  //会员签约教练
  'member/signing'=>['user/Index/signing',['method'=>'get']],
  //会员签约教练
  'member/fitness'=>['gym/Index/memberSigningFitness',['method'=>'post']],
  //会员签约的信息查询
  'member/signgin/application/info'=>['user/Index/memberSigningInquiry',['method'=>'get']],
  //会员解约查询
  'member/unsigning/info'=>['user/Index/memberUnsignInquiry',['get']],
  //查询会员签约的教练列表
  'member/fitness/signing/list'=>['gym/Index/memberSigningFitness',['method'=>'get']],
  //教练是否同意会员的签约申请
  'member/sign/agree'=>['gym/Index/fitnessAgreeSign',['method'=>'get']],
  //查询教练的约课信息
  'course/about_class_info'=>['reservation/Index/aboutOfClass',['method'=>'get']],
  //会员的约课接口
  'member/acout_course'=>['reservation/Index/member',['method'=>'get']],
  //会员转移的接口
  'member/transfer'=>['gym/Index/memberTransfer',['method'=>'post']],
  //会员的约课接口之前的唯一标识
  'member/acout/uniqid'=>['reservation/Index/getCourseUniqid',['method'=>'get']],
  //会员的约课接口的查询信息
  'member/acout/info'=>['reservation/Index/getCourseInfo',['method'=>'get']],
  //添加课程动态
  'course/dynamic/push'=>['reservation/Index/courseDynamicPush',['method'=>'post']],
  //课程动态图片的查询
  'course/dynamic/picture/info'=>['gym/Index/courseDynamicImgInfo',['method'=>'get']],
  //课程动态图片的添加
  'course/dynamic/picture/push'=>['gym/Index/courseDynamicImgPush',['method'=>'get']],
  //梗概用户角色信息的接口
  'rule/change'=>['user/Index/changeRule',['method'=>'post']],
  //获取生成微信二维码的token
  'get/qrcode/token'=>['wechat/Index/getToken',['method'=>'get']],
  //问题的类型
  'question/type/push'=>['questionnaire/Index/issue',['method'=>'get']],
   //问题类型的统计
  'question/type/datasum'=>['questionnaire/Index/issueType',['method'=>'get']],
  //今天的营养餐查询
  'meal/today'=>['gym/Index/mealTodayInfo',['method'=>'get']],
  //查询健身房的营养餐列表
  'meal/info'=>['gym/Index/mealInfo',['method'=>'get']],
  //健身房营养餐添加
  'meal/push'=>['gym/Index/mealPush',['method'=>'get']],
  //问题类型列表
  'question/type/info'=>['questionnaire/Index/typeInfo',['method'=>'get']],
  //问题的查询接口
  'question/info'=>['questionnaire/Index/questionInfo',['method'=>'get']],
  //答案添加
  'answer/push'=>['questionnaire/Index/addResult',['method'=>'get']],
  //回答问题的接口
  'answer/questions'=>['questionnaire/Index/answerQuestions',['method'=>'post']],
  //查询回答问题的接口
  'answer/questions/info'=>['questionnaire/Index/answerQuestionsInfo',['method'=>'get']],
  //朋友圈的模型
  'user/circle'=>['circle/Index/circleInfo',['method'=>'get']],
  //朋友圈的点赞功能
  'circle/thumb'=>['circle/Index/like',['method'=>'post']],
  //朋友圈点赞列表查询
  'circle/thumb/info'=>['circle/Index/likeInfo',['method'=>'get']],
  //教练的成绩单查询
  'transcript/input'=>['circle/Index/inputTranscript',['method'=>'get']],
  //用户的下线
  'user/offline'=>['user/Index/offline',['method'=>'get']],
  //通用的公共工具的接口
  'publictool/:func'=>['publictool/Index/index',['method'=>'get'],['func'=>'\S+']],
  //健身房添加
  'gym/input'=>['gym/Index/index',['method'=>'get']],
  //健身房的信息
  'gym/info'=>['gym/Index/gymInfo',['method'=>'get']],
  //健身房信息的修改
  'gym/modify'=>['gym/Index/gymMonity',['method'=>'post']],
  //格言模板
  'mottotpl'=>['user/Index/mottoTpl',['method'=>'get']],
  'GymInfo/input'=>['gym/Index/index',['method'=>'get']],
  'GymSumInfo/query'=>['gym/Index/bossShop',['method'=>'get']],//老板主页的店铺接口
  'GymMembers/member'=>['gym/Index/bossMember',['method'=>'get']],//老板店铺下的会员列表
  'gym/coach/list'=>['gym/Index/bossCoach',['method'=>'get']],//老板店铺下的教练列表
  'user/info'=>['user/Index/info',['method'=>'get']], //用户的信息模型
  //营业执照的添加
  'icinfo/push'=>['user/Index/icInfo',['method'=>'get']],
  //工商信息查询
  'icinfo/info'=>['user/Index/icInfoShow',['method'=>'get']],
  //工商信息修改
  'icinfo/monity'=>['user/Index/icInfoMonity',['method'=>'get']],
  'gym/delete'=>['gym/Index/delete',['method'=>'get']], //健身房的删除
  'verifyCode'=>['publictool/PublicTool/captcha',['method'=>'get']], //验证码的发放
  'checkVerifyCode'=>['publictool/PublicTool/checkCaptcha',['method'=>'get']], //验证码的验证
  'captchaShow'=>['publictool/PublicTool/captchaShow',['method'=>'get']], //验证码图片的显示
  'test'=>['user/index/test',['method'=>'get']], //测试的功能
  'gym/activity/add'=>['gym/Index/activityAdd',['method'=>'get']], //健身房活动的听添加
  'join/activity/info'=>['gym/Index/activityJoinInfo',['method'=>'get']],//查询参加活动的详细人数
  'activity/info'=>['gym/Index/activityInfo',['method'=>'get']],//活动的信息
  'join/activity'=>['gym/Index/activityJoin',['method'=>'post']],//用户参加活动的接口
  //活动修改
  'activity/monity'=>['gym/Index/ActivityMonity',['method'=>'post']],
  'album/push'=>['imagespace/Index/push',['method'=>'get']], //添加相册
  'album/modify'=>['imagespace/Index/modify',['method'=>'get']],//删除图片
  'album/delete'=>['imagespace/Index/delete',['method'=>'get']],//删除图片
  'member/fitness/list'=>['gym/Index/MemberFitnessList',['method'=>'get']],//获取所有会员的健身房排行榜
  //统计所有的教练的销售课程的信息
  'fitness/rankings'=>['gym/Index/fitnessListRankings',['method'=>'get']],
  'fitness/siging/gym'=>['gym/Index/fitnessSigningGym',['method'=>'post']], //教练签约健身房
  //健身房和教练解约
  'fitness/unsign/gym'=>['gym/Index/fitnessUnSigningGym',['method'=>'get']],
  'album/info'=>['imagespace/Index/info',['method'=>'get']],//查询相册
  'clear'=>['gym/Index/clearGymReservationCourse',['method'=>'get']],
  //管理员的内容
  'all/gym/info'=>['admin/Index/allGymInfo',['method'=>'get']],
  //缴费记录的列表
  'line/list'=>['admin/Index/lineInfo',['method'=>'get']],
  //增加健身房的缴费记录
  'line/add'=>['admin/Index/addLine',['method'=>'get']],
  //后台统计页面
  'admin/mamanger'=>['admin/Index/Manager',['method'=>'get']],
  //添加推送给老板的内容
  'push/disabled'=>['admin/Index/pushDisabled',['method'=>'post']],
  '__miss__'=>'index/Index/index' //所有路由没有匹配就执行最后一条路由
];
